﻿@model MPExtended.Applications.WebMediaPortal.Models.StreamModel
<script src="@Url.Content("~/Content/jwplayer/jwplayer.js")" type="text/javascript"></script>
<div id="videoplayer">
    Install <a href="http://www.adobe.com/products/flashplayer/">Adobe Flash Player</a> to use this player.
</div>
<script type="text/javascript">
    jwplayer("videoplayer").setup({
        flashplayer: "@Url.Content("~/Content/jwplayer/player.swf")",
        file: "@Html.Raw(@Model.URL)",
        type: "video",
        width: @Model.Size.Width,
        height: @Model.Size.Height
    });
</script>
